package link.gpt.service;

import com.github.pagehelper.PageInfo;
import link.gpt.pojo.EbookEntry;

/**
 * @version V1.0A
 * @uthor gpt
 * @Project holiday_task
 * @Package link.gpt.service
 * @Description: ${TODO}
 * @Date 2021/10/3 16:11
 */
public interface EbookEntryService {

   PageInfo<EbookEntry> findAllByCategoryIdAndPage(Integer categoryId, int num, int size);


   EbookEntry findByBookId(Integer id);


   int insertBook(EbookEntry ebookEntry);

   int updateBook(EbookEntry ebookEntry);

   int deleteBookById(Integer id);


}
